﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Obsidian.GameObjects;

namespace Obsidian.Components
{
    public class SpriteRenderer : Renderer
    {
        public Frame Frame;

        protected override void DrawCore(DrawingContext context, ref Matrix global)
        {
            context.Draw(ref Frame, Color.White, ref global);
            base.DrawCore(context, ref global);
        }

        public SpriteRenderer()
            : base("SpriteRenderer")
        {

        }
    }
}
